package cn.tom.mapper;

import cn.tom.entity.DevelopmentHistory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DevelopmentHistoryMapper extends BaseMapper<DevelopmentHistory> {
    /**
     * 发展历程 奇数查询
     */
    public List<DevelopmentHistory> findByOdd();


    /**
     * 发展历程 偶数查询
     */
    public List<DevelopmentHistory> findByEven();


    /**
     * 根据发展历程图片类型ID查询
     */
    public DevelopmentHistory getById(@Param("id") Integer id);


}
